//  UIColor+extension.swift
//
//  Created by laichunhui on 15/9/30.
//  Copyright © 2015年 lch. All rights reserved.
//  UIColor扩展

import UIKit

// UIColor的扩展
extension UIColor {
    class func colorWith(red: CGFloat, green: CGFloat, blue: CGFloat, alpha: CGFloat) -> UIColor {
        let color = UIColor(red: (red) / 255.0, green: (green) / 255.0, blue: (blue) / 255.0, alpha: alpha)
        return color
    }
    
}

